<template>
  <view class="">
    <view class="success">
      <view class="dui">
        <uni-icons type="checkmarkempty" size="100" color="#fff"></uni-icons>
      </view>
      <text >支付成功</text>
    </view>
    <button @click="goOnePage" type="primary" class="goOnePage">返回首页</button>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        
      };
    },
    methods:{
      goOnePage(){
        uni.switchTab({
          url:"/pages/home/home"
        })
      }
    }
  }
</script>

<style lang="scss">
  .goOnePage{
    width: 60%;
    margin-top: 20px;
  }
  .success{
    margin-top:200px ;
    display:flex;
    align-items: center;
    justify-content: center;
    text{
      font-size: 50px;
    }
  }
.dui{
  margin-right: 15px;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  background-color: #62ed0d;
  
}
</style>
